package com.tianhui.consignortwofei.mvp.ui.activity.hetong.activity.edit;

import android.view.View;

import com.tianhui.consignortwofei.mvp.model.hetong.ProductInfo;
import com.tianhui.consignortwofei.mvp.ui.activity.hetong.activity.ContractAddStepFourActivity;

import java.util.List;


/**
 * @author fgs
 * @date 2021/5/20
 * @description
 **/
public class EditContractStepFourActivity extends ContractAddStepFourActivity {

    @Override
    public void initView() {
        super.initView();
        setTitle("编辑产品");
        contractNumberLinearLayout.setVisibility(View.GONE);
        List<ProductInfo> productInfoList = mContractInfo.contractcontentlist;
        if (productInfoList != null && productInfoList.size() > 0) {
            productAdapter.addAll(mContractInfo.contractcontentlist);
            refreshView();
        }

    }

    @Override
    public void initData() {
//        mContractInfo.isaudit = "2";
//        mContractInfo.isaudit = "1";
        String isblack = mContractInfo.isaudit;
    }

}
